package week_07.stackWork;

import week_07.Stack;

public class stackTest {
    public static void main(String[] args) {
        Stack<String> stack = new Stack<>();

        String str="(上海(长[{}]安)())";
        boolean match= stack.isMatch(str);
        System.out.println(match);



        /*]\]\

        stack.push("a");
        stack.push("b");
        stack.push("c");
        stack.push("d");
        stack.push("e");
        for (String item : stack) {
            System.out.println(item);
        }
        System.out.println("——————————————————");
        System.out.println(stack.pop());
        */
    }
}
